package io.finer.erp.jeecg.bas.mapper;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import io.finer.erp.jeecg.bas.dto.BasCustomerDTO;
import io.finer.erp.jeecg.bas.entity.BasCustomer;

/**
 * @Description: 客户
 * @Author: jeecg-boot
 * @Date:   2020-04-01
 * @Version: V1.0
 */
public interface BasCustomerMapper extends BaseMapper<BasCustomer> {

	/**
	 * 根据地域Id查询客户信息
	 * @param page
	 * @param
	 * @return
	 */
	IPage<BasCustomerDTO> getCustomerByRegionId(Page page, @Param("regionId") String regionId, @Param("name") String name);
}
